package com.dhsc.controller.yykh.yyzlkh;

import com.dhsc.domain.ywzx.yykh.yyzlkh.TbsxwhVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.yykh.yyzlkh.ITbsxwhService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName TbsxwhController
 * @description: 特别事项维护
 * @author: gx
 * @create: 2024-04-24 15:27:14
 **/
@Controller
@RequestMapping("/yykh/yyzlkh")
public class TbsxwhController {

    @Autowired
    private ITbsxwhService tbsxwhService;

    /**
    * @Description: 查询特别事项维护
    * @MessageName: queryTbsxwh
    * @param: tbsxwhVo
    * @return: LayuiTableVo
    * @Author: gx
    * @Date: 2024/4/25 13:53
    */
    @ResponseBody
    @RequestMapping(value="/queryTbsxwh")
    public LayuiTableVo queryTbsxwh(TbsxwhVo tbsxwhVo)
    {
        return tbsxwhService.queryTbsxwh(tbsxwhVo);
    }

    /**
    * @Description: 保存特别事项维护
    * @MessageName: saveTbsxwh
    * @param: tbsxwhVo
    * @return: ResponseObject
    * @Author: gx
    * @Date: 2024/4/25 13:53
    */
    @ResponseBody
    @RequestMapping(value="/saveTbsxwh")
    public ResponseObject saveTbsxwh(TbsxwhVo tbsxwhVo)
    {
        return tbsxwhService.saveTbsxwh(tbsxwhVo);
    }

    /**
    * @Description: 删除特别事项维护
    * @MessageName: deleteTbsxwh
    * @param: tbsxwhVo
    * @return: ResponseObject
    * @Author: gx
    * @Date: 2024/4/25 13:53
    */
    @ResponseBody
    @RequestMapping(value="/deleteTbsxwh")
    public ResponseObject deleteTbsxwh(TbsxwhVo tbsxwhVo)
    {
        return tbsxwhService.deleteTbsxwh(tbsxwhVo);
    }
}
